exports.bb = function (req, res) {

    //获取body参数
    var bodyParams = req.routeInfo.bodyParams;

    var resultData = {};

    //任务流创建
    async.waterfall([

        function(cb){

            //事物操作对象
            var transaction_1 = {
                url    : CORE_APIConfig.coreAPI.organizationalStructureAdd.Request_Api_Name,
                action : "C",
                data   : {
                    os_name : "A",
                    os_path : "A",
                    os_fid  : "1"
                }
            }

            var transaction_2 = {
                url    : CORE_APIConfig.coreAPI.organizationalRoleAdd.Request_Api_Name,
                action : "C",
                data   : {
                    or_name : "AAA"
                }
            }

            R.SEND_HTTP(
                req,
                {
                    url: CORE_APIConfig.coreAPI.coreRequestTransaction.Request_Api_Url,
                    method: 'POST',
                    data : {
                        apiData : [transaction_1, transaction_2]
                    }
                },
                function (err, data) {

                    console.log(data)

                    resultData = data;

                    cb()
                   
                });   

        }
    ], function (err, result) {

        //返回最终拼接结果
        RES.response(res, true, resultData);

    });
    

    
}